﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FormItemConfirmDelete.ascx.cs" Inherits="Apollo.Website.Controls_Edit_FormItemConfirmDelete" %>

<script type="text/javascript">

    $(document).ready(function () {

        // add confirm message to Delete button
        $("a.btn_delete").removeAttr("href");

        $("a.btn_delete").click(function () {
            if (confirm("Are you sure you want to continue the delete action?"))
                __doPostBack('LinkButtonDelete', '');
        });

    });

</script>
